Command-Y re-does the last thing you did if you just typed Command-Z to undo it